package com.zfei.gfb.device;

import com.google.gson.reflect.TypeToken;

import java.lang.reflect.Type;
import java.util.List;
import java.util.Map;

/**
 * @author fgh
 */
public class Types {

    public static final Type StringListType = new TypeToken<List<String>>() {
    }.getType();

    public static final Type IntegerListType = new TypeToken<List<Integer>>() {
    }.getType();

    public static final Type LongListType = new TypeToken<List<Long>>() {
    }.getType();

    public static final Type DoubleListType = new TypeToken<List<Double>>() {
    }.getType();


    public static final Type StringLongMapType = new TypeToken<Map<String, Long>>() {
    }.getType();

    public static final Type StringStringMapType = new TypeToken<Map<String, String>>() {
    }.getType();

    public static final Type StringObjectMapType = new TypeToken<Map<String, Object>>() {
    }.getType();



//    Type type = new TypeToken<List<HandActivity>>(){}.getType();
}
